﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cost_list.aspx.cs" Inherits="admin_settings_cost_list" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>费用信息</title>
    <link type="text/css" rel="stylesheet" href="../scripts/ui/skins/Aqua/css/ligerui-all.css" />
    <link type="text/css" rel="stylesheet" href="../images/style.css" />
    <script type="text/javascript" src="../scripts/jquery/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../scripts/ui/js/ligerBuild.min.js"></script>
    <script type="text/javascript" src="../js/function.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            SetRowClass();
            ReloadJs();
        })      
    </script>
</head>
<body class="mainbody">
  <form id="form1" runat="server">
    <div class="navigation">首页 &gt; 控制面板 &gt; 费用信息</div>
    <div class="tools_box">
	    <div class="tools_bar">
		    <a href="cost_edit.aspx?action=<%=ActionEnum.Add %>" class="tools_btn"><span><b class="add">添加费用</b></span></a>
		    <a href="javascript:void(0);" onclick="checkAll(this);" class="tools_btn"><span><b class="all">全选</b></span></a>
            <asp:LinkButton ID="btnDelete" runat="server" CssClass="tools_btn" onclick="btnDelete_Click" 
            OnClientClick="return ExePostBack('btnDelete','删除费用信息后不可恢复，您确定吗？');"><span><b class="delete">批量删除</b></span></asp:LinkButton>
        </div>
    </div>
     <!--列表展示.开始-->
    <asp:Repeater ID="rptList" runat="server">
    <HeaderTemplate>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
      <tr>
        <th width="6%">选择</th>
        <th align="left">费用名称</th>
        <th width="14%" align="left">费用金额</th>
        <th width="10%" >操作</th>
      </tr>
    </HeaderTemplate>
    <ItemTemplate>
      <tr>  
        <td align="center"><asp:CheckBox ID="chkId" CssClass="checkall" runat="server" />
        <asp:HiddenField ID="hidId" Value='<%#Eval("id")%>' runat="server" /></td>
        <td><a href="cost_edit.aspx?action=<%#ActionEnum.Edit %>&id=<%#Eval("id")%>"><%#Eval("cost_name")%></a></td>
        <td><%#Eval("cost")%></td>
        <td align="center"><a href="cost_edit.aspx?action=<%#ActionEnum.Edit %>&id=<%#Eval("id")%>">修改</a></td>
      </tr>
    </ItemTemplate>
    <FooterTemplate>
      <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"4\">暂无记录</td></tr>" : ""%>
      </table>
    </FooterTemplate>
    </asp:Repeater>
     <!--列表展示.结束-->
    <div class="line10"></div>
</form>
</body>
</html>
